package backstage.app.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import backstage.app.entity.Levea;
import backstage.app.mapper.LeveaMapper;
import backstage.app.service.LeveaService;

@Service
public class LeveaServiceImpl extends ServiceImpl<LeveaMapper, Levea> implements LeveaService{
	
	@Autowired
	private LeveaMapper leveaMapper;
	
	@Override
	public int insertSelective(Levea levea) {
		// TODO Auto-generated method stub
		return leveaMapper.insertSelective(levea);
	}

	@Override
	public Levea selectByPrimaryKey(Integer leid) {
		// TODO Auto-generated method stub
		return leveaMapper.selectByPrimaryKey(leid);
	}

	@Override
	public int deleteByPrimaryKey(Integer leid) {
		// TODO Auto-generated method stub
		return leveaMapper.deleteByPrimaryKey(leid);
	}

	@Override
	public int updateByPrimaryKey(Levea levea) {
		// TODO Auto-generated method stub
		return leveaMapper.updateByPrimaryKey(levea);
	}

}
